Page({
  data: {
    array:['张三','李四','赵武'],
    x:3,
    tab:"快点我",
    time:2000,
    array1:[1,2,3,4,5,6,7,8,9],
    array2:[1,2,3,4,5,6,7,8,9]
  },
  
  mytab(e)
  {
    console.log(e.currentTarget.dataset.my);
    this.setData({
      tab:e.currentTarget.dataset.my
    })
    setTimeout(() => {
      wx.switchTab({
        url: '/pages/wk/wk',
      })
    }, this.data.time);
  
  }
 
})
